package com.ssu.judea.travlog.vo;

import java.util.HashMap;

public class ResultPost {
	private int postseq;
	private int memberseq;
	private String twitterid;
	private String regdate;
	private String regtime;
	private double latitude;
	private double longitude;
	private int open;
	private String attachimageurl;
	private String contents;
	
	public HashMap<String, String> toHashMap() {
		HashMap<String, String>hm = new HashMap<String, String>();
		
		hm.put("postseq", String.valueOf(postseq));
		hm.put("memberseq", String.valueOf(memberseq));
		hm.put("twitterid",twitterid);
		hm.put("regdate",regdate);
		hm.put("regtime",regtime);
		hm.put("latitude", String.valueOf(latitude));
		hm.put("longitude", String.valueOf(longitude));
		hm.put("open", String.valueOf(open));
		hm.put("attachimageurl",attachimageurl);
		hm.put("contents",contents);
		return hm;
	}
	
	public int getPostseq() {
		return postseq;
	}
	public void setPostseq(int postseq) {
		this.postseq = postseq;
	}
	public int getMemberseq() {
		return memberseq;
	}
	public void setMemberseq(int memberseq) {
		this.memberseq = memberseq;
	}
	public String getTwitterid() {
		return twitterid;
	}
	public void setTwitterid(String twitterid) {
		this.twitterid = twitterid;
	}
	public String getRegdate() {
		return regdate;
	}
	public void setRegdate(String regdate) {
		this.regdate = regdate;
	}
	public String getRegtime() {
		return regtime;
	}
	public void setRegtime(String regtime) {
		this.regtime = regtime;
	}
	public double getLatitude() {
		return latitude;
	}
	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}
	public double getLongitude() {
		return longitude;
	}
	public void setLongitude(double longitude) {
		this.longitude = longitude;
	}
	public int getOpen() {
		return open;
	}
	public void setOpen(int open) {
		this.open = open;
	}
	public String getAttachimageurl() {
		return attachimageurl;
	}
	public void setAttachimageurl(String attachimageurl) {
		this.attachimageurl = attachimageurl;
	}
	public String getContents() {
		return contents;
	}
	public void setContents(String contents) {
		this.contents = contents;
	}
	
	
}
